<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>接种证查验数据上报管理</title>
<meta name="decorator" content="default" />
<script type="text/javascript">
	$(document).ready(function() {

	});
	function page(n, s) {
		$("#pageNo").val(n);
		$("#pageSize").val(s);
		$("#searchForm").submit();
		return false;
	}
</script>
</head>
<body>
	<div id="content" class="row-fluid">
		<div id="left">
			<div class="accordion-heading">
				<a class="accordion-toggle">组织树 <i id="colseBtn"
					class="icon-remove pull-right" onclick="closeTree();"></i> <label
					id="nowLevel"></label>
				</a>
			</div>
			<iframe id="officeContent" src="${ctx}/checkrecord/bsHpccSummary/treelist"
				width="100%" height="100%" frameborder="0"></iframe>
		</div>
		<div id="openClose" class="close">&nbsp;</div>
		<div id="right">
			<ul class="nav nav-tabs">
				<li class="active"><a href="${ctx}/checkrecord/bsHpccSummary/">接种证查验数据上报列表</a></li>
				<%-- <shiro:hasPermission name="checkrecord:bsHpccSummary:edit"><li><a href="${ctx}/checkrecord/bsHpccSummary/form">接种证查验数据上报添加</a></li></shiro:hasPermission> --%>
			</ul>
		<form:form id="searchForm" modelAttribute="bsHpccSummary" action="${ctx}/checkrecord/bsHpccSummary/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<%-- <li><label>id：</label>
				<form:input path="id" htmlEscape="false" maxlength="32" class="input-medium"/>
			</li>
			<li><label>学校编码：</label>
				<form:input path="schCode" htmlEscape="false" maxlength="50" class="input-medium"/>
			</li>
			<li><label>上级编码：</label>
				<form:input path="parentCode" htmlEscape="false" maxlength="50" class="input-medium"/>
			</li> --%>
			<li><label>学校类型：</label>
				<form:select path="schType" class="input-medium">
					<form:option value="" label=""/>
					<form:option value="" label="全部"/>
					<form:options items="${fns:getDictList('sch_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</li>
			<%-- <li><label>入学年份：</label>
				<form:input path="enrlYear" htmlEscape="false" maxlength="10" class="input-medium"/>
			</li>
			<li><label>查验截止日期：</label>
				<input name="checkEndTime" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
					value="<fmt:formatDate value="${bsHpccSummary.checkEndTime}" pattern="yyyy-MM-dd HH:mm:ss"/>"
					onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:false});"/>
			</li>--%> 
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<%-- <li class="clearfix"></li> --%> 
		</ul>
	</form:form>
			<sys:message content="${message}" />
	<div style="overflow: scroll;">
			<table id="contentTable"
				class="table table-striped table-bordered table-condensed">
				<thead>
					<tr>
						<!-- <th>id</th> -->
						<th>学校名称</th>
						<th>学校编码</th>
						<th>上级编码</th>
						<th>类型</th>
						<th>入学年份</th>
						<th>查验数量</th>
						<th>新入学或转学人数</th>
						<th>无证人数</th>
						<th>已补证人数</th>
						<th>需补种人次数</th>
						<th>已补种人次数</th>
						
						<th>需补种乙肝</th>
						<th>已补种乙肝</th>
						<th>需补种脊灰</th>
						<th>已补种脊灰</th>
						<th>需补种百白破</th>
						<th>已补种百白破</th>
						<th>需补种白破</th>
						<th>已补种白破</th>
						<th>需补种麻疹类</th>
						<th>已补种麻疹类</th>
						<th>需补种乙脑</th>
						<th>已补种乙脑</th>
						<th>需补种流脑</th>
						<th>已补种流脑</th>
						<th>需补种甲肝</th>
						<th>已补种甲肝</th>
						<!-- <th>create_by</th>
						<th>create_date</th>
						<th>update_by</th>
						<th>update_date</th>
						<th>del_flag</th> -->
						<th>查验截止日期</th>
						<%-- <shiro:hasPermission name="checkrecord:bsHpccSummary:edit"> --%>
						<!-- <th>操作</th> -->
						<%-- </shiro:hasPermission> --%>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${page.list}" var="bsHpccSummary">
						<tr>
							<%-- <td><a href="${ctx}/checkrecord/bsHpccSummary/form?id=${bsHpccSummary.id}">
					${bsHpccSummary.id}
				</a></td> --%>
							<td>${bsHpccSummary.schName}</td>
							<td>${bsHpccSummary.schCode}</td>
							<td>${bsHpccSummary.parentCode}</td>
							<td>${bsHpccSummary.schType}</td>
							<td>${bsHpccSummary.enrlYear}</td>
							<td>${bsHpccSummary.checkStuNum}</td>
							<td>${bsHpccSummary.enStuNum}</td>
							<td>${bsHpccSummary.noCardNum}</td>
							<td>${bsHpccSummary.alredayRepairCardNum}</td>
							<td>${bsHpccSummary.needRepairVaccNum}</td>
							<td>${bsHpccSummary.alredayRepairVaccNum}</td>
							<td>${bsHpccSummary.needHepbNum}</td>
							<td>${bsHpccSummary.needHepbNum}</td>
							<td>${bsHpccSummary.needPvNum}</td>
							<td>${bsHpccSummary.needPvNum}</td>
							<td>${bsHpccSummary.needDptNum}</td>
							<td>${bsHpccSummary.needDptNum}</td>
							<td>${bsHpccSummary.needDtNum}</td>
							<td>${bsHpccSummary.needDtNum}</td>
							<td>${bsHpccSummary.needMNum}</td>
							<td>${bsHpccSummary.needMNum}</td>
							<td>${bsHpccSummary.needJeNum}</td>
							<td>${bsHpccSummary.needJeNum}</td>
							<td>${bsHpccSummary.needMenNum}</td>
							<td>${bsHpccSummary.needMenNum}</td>
							<td>${bsHpccSummary.needHepaNum}</td>
							<td>${bsHpccSummary.needHepaNum}</td>
							<td><fmt:formatDate value="${bsHpccSummary.checkEndTime}" pattern="yyyy-MM-dd HH:mm:ss" /></td>
							<%-- <shiro:hasPermission name="checkrecord:bsHpccSummary:edit"> --%>
							<%-- <td>
								<a href="${ctx}/checkrecord/bsHpccSummary/form?id=${bsHpccSummary.id}">修改</a>
								<a
								href="${ctx}/checkrecord/bsHpccSummary/delete?id=${bsHpccSummary.id}"
								onclick="return confirmx('确认要删除该接种证查验数据上报吗？', this.href)">删除</a>
							</td> --%>
							<%-- </shiro:hasPermission> --%>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
			<div class="pagination">${page}</div>
			
		</div>
	</div>
	<script type="text/javascript">
	   		
		var leftWidth = "350"; // 左侧窗口大小
		var htmlObj = $("html"), mainObj = $("#main");
		var frameObj = $("#left, #openClose, #right, #right iframe");
		function wSize(){
			var strs = getWindowSize().toString().split(",");
			/* htmlObj.css({"overflow-x":"hidden", "overflow-y":"hidden"}); */
			mainObj.css("width","auto");
			frameObj.height(strs[0] - 5);
			var leftWidth = ($("#left").width() < 0 ? 0 : $("#left").width());
			$("#right").width($("#content").width()- leftWidth - $("#openClose").width() -5);
			$(".ztree").width(leftWidth - 10).height(frameObj.height() - 46);
		}
	</script>
	<script src="${ctxStatic}/common/wsize.min.js" type="text/javascript"></script>
</body>
</html>